package com.sogoodsoft.service.crm;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.sogoodsoft.dao.common.CommonHibernateDao;
import com.sogoodsoft.dao.crm.GoodsDao;
import com.sogoodsoft.entity.crm.Goods;
import com.sogoodsoft.service.common.AbstractService;

@Component
public class GoodsService extends AbstractService<Goods,Long> {
	
	private GoodsDao dao;
	@SuppressWarnings({ "unchecked", "rawtypes" })
    @Override
	public CommonHibernateDao getDao() {
		return dao;
	}
	@Autowired
	public void setDao(GoodsDao dao) {
		this.dao = dao;
	}
	
	

}
